<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>押金单</title>
	<meta name="viewport" content="initial-scale=1, maximum-scale=1">
	<link rel="shortcut icon" href="/favicon.ico">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">

	<link rel="stylesheet" href="../css/common.css">
	<link rel="stylesheet" href="../css/hardware.css">
	<link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">

    <script src="js/jquery/3.2.1/jquery.min.js"></script>
    <!-- 插件js -->
	<script src="../js/zepto.js"></script>
	<script src="../js/sm.js" ></script>
	<script src="../js/sm-extend.js" ></script>
	<script src="../js/request.js"></script>
	<script src="./js/deposit.js"></script>
	<script src="../../js/common.js"></script>
<script type="text/javascript">
window.$$=window.Zepto = Zepto;
</script>
<style>
.check-team{border: 1px solid #d8dcdf;}
.row div{
	border-top: 1px solid #d8dcdf;
	border-right: 1px solid #d8dcdf;
	border-left: 1px solid #d8dcdf;
}
.row{
	border: 1px solid #d8dcdf;
}
.check-team td,th{
	border: 1px solid #d8dcdf;
}
.check-team h5{
	font-size: 14px;
}
.input{
 height: 35px;
 margin-left: 5px;
 border-radius: 5px;
 border: 1px solid #cfc8cfee;
 width: 210px;
}
.select{
    width: 210px;
    height: 35px;
    border-radius: 5px;
    margin-left: 5px;
}
.span{
/*  text-decoration:underline; */
 padding-left: 5px;
 padding-right: 5px;
/*  font-family: cursive; */
}
</style>
</head>
<body>
	<div class="page">

	<!-- 主体内容 -->
	<div class="content">
		<div class="D_content--wrap">
			<div style="border: 1px solid #bfbebe;border-radius: 3px;margin-top: 15px;">
					<div style="text-align: center;font-size: 20px">服务保证金</div>
					<div style="padding : 10px;font-family: cursive;">
						&nbsp;&nbsp;&nbsp;&nbsp;珠海蓝居实业有限公司租赁<span id="userName_" class="userName_ span"></span>名下<span id="houseAddr_ span" class="houseAddr_ span"></span>房子,于
						<span id="payDate_" class="payDate_ span"></span>前向<span class="bankName_ span"></span>银行账号<span class="payAccount_ span"></span>转账支付<span id="money_" class="money_ span"></span>元押金给<span id="userName_" class="userName_ span"></span>。<br>
						<span style="font-family: cursive;">&nbsp;&nbsp;&nbsp;&nbsp;以此为证!</span>
					</div>
				</div>
			
		</div>
		
		
	</div>
</div>

<script src="../../js/common.js"></script>
<script type="text/javascript">
var checkType = $.getUrlParam("checkType");	//0:租客清单 1:业主清单 
var type = 1; 	//1:验房清单清单项
var userId = $.getUrlParam("userId");	//所选租客id或房东id
var slipId = $.getUrlParam("slipId");

var inputid="";
var logoid="";
$(function(){
	
	 if(slipId == null){
		$("#save").show();
	 }else{
		 $("#update").show();
		 $("#del").show();
	 }
	 deposit.queryDepotSliById();
	 $(document).on('change', '#addLogo', function () {
		    function getObjectURL(file) {
		        var url = null;
		        if (window.createObjectURL != undefined) { // basic
		            url = window.createObjectURL(file);
		        } else if (window.URL != undefined) { // mozilla(firefox)
		            url = window.URL.createObjectURL(file);
		        } else if (window.webkitURL != undefined) { // webkit or chrome
		            url = window.webkitURL.createObjectURL(file);
		        }
		        return url;
		    }
		    var objUrl = getObjectURL(this.files[0]);
			$("#logopic").attr("src",objUrl);
		});
	
});
function fillText(text){
	$("."+text+"_").text($("#"+text).val());
	if(text =="houseAddr"){
		$("#contractId").val($("#"+text+" option:selected").attr("data-value"));
	}
	
}


</script>
</body>
</html>